-
Notifications
You must be signed in to change notification settings - Fork 15
Upgrade to Go 1.23.0 and update dependencies #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
not sure why CI run fails. Works on my machine with go 1.23 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking comments
github.com/chzyer/readline v1.5.1 // indirect | ||
github.com/gookit/color v1.5.4 // indirect | ||
github.com/klauspost/compress v1.18.0 // indirect | ||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this https://github.com/xo/terminfo dependency is net new from the auto minor-version upgrade of https://github.com/gookit/color , which is ultimately required by our first-level dependency https://github.com/i582/cfmt. I wonder if there isn't a better way to do colored terminal output these days with less dependencies?
These are the only places where we call into the cfmt
library as far as I can tell:
Line 84 in facb7a0
cfmt.Printf("{{%s}}::red|bold\n", msg) |
Lines 22 to 36 in facb7a0
func init() { | |
cfmt.Print(` | |
{{ __ _ __ ____ }}::green | |
{{ ____ ____ ____/ /________ (_)___/ /___ / __/ }}::yellow | |
{{ / __ '/ __ \/ __ / ___/ __ \/ / __ / __ '/ /_ }}::red | |
{{ / /_/ / / / / /_/ / / / /_/ / / /_/ / /_/ / __/ }}::magenta | |
{{ \__,_/_/ /_/\__,_/_/ \____/_/\__,_/\__, /_/ }}::blue | |
{{ /_/ }}::cyan | |
`) | |
cfmt.Println("\tandroidqf - Android Quick Forensics") | |
cfmt.Println() | |
} | |
func systemPause() { | |
cfmt.Println("Press {{Enter}}::bold|green to finish ...") |
fixes #62